package com.harvey.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.converters.localdatetime.LocalDateTimeStringConverter;
import lombok.Data;

import java.sql.Timestamp;


/**
 * @author Harvey
 * @date 2024-08-27 12:45
 **/
@Data
public class DataEntity {

    @ExcelProperty(value = "交易时间")
    @ColumnWidth(20)
    private String timestamp;

    @ExcelProperty("发送方地址")
    @ColumnWidth(40)
    private String fromAddress;

    @ExcelProperty("接收方地址")
    @ColumnWidth(40)
    private String toAddress;

    @ExcelProperty("是否是合约地址")
    @ColumnWidth(20)
    private String toAddressIsContract;

    @ExcelProperty("数量")
    @ColumnWidth(10)
    private String amount;

    @ExcelProperty("结果")
    @ColumnWidth(10)
    private String result;
}
